package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.QscQuotaOrder;
import org.jeecg.modules.company.facade.IQscQuotaOrderFacade;
import org.jeecg.modules.company.service.IQscQuotaOrderService;
import org.jeecg.modules.company.vo.QscQuotaOrderVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 质维额度顶订单
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class QscQuotaOrderFacadeImpl extends IFacadeImpl<QscQuotaOrderVo, QscQuotaOrder, IQscQuotaOrderService>  implements IQscQuotaOrderFacade<QscQuotaOrderVo, QscQuotaOrder> {
        @Autowired
        private IQscQuotaOrderService qscQuotaOrderService;


         @Override
         public QscQuotaOrder po2Vo(QscQuotaOrderVo vo) {
                QscQuotaOrder po = new QscQuotaOrder();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public QscQuotaOrderVo vo2Po(QscQuotaOrder po) {
                QscQuotaOrderVo vo = new QscQuotaOrderVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
